/* Imports */
@import url("reset.css");

/***** Global *****/
/* Body */
	body {
		background: #1B0D00;
		color: #FFF;
		font-size: 87.5%; /* Base font size: 14px */
		font-family: "Lucida Grande", Verdana, lucida, Arial, Helvetica, 宋体, sans-serif;
		line-height: 1.429;
		margin: 0;
		padding: 0;
		text-align: left;
	}

/* Headings */
h2 {font-size: 1.571em}	/* 22px */
h3 {font-size: 1.429em}	/* 20px */
h4 {font-size: 1.286em}	/* 18px */
h5 {font-size: 1.143em}	/* 16px */
h6 {font-size: 1em}		/* 14px */

h2, h3, h4, h5, h6 {
	font-weight: 400;
	line-height: 1.1;
	margin-bottom: .8em;
}
	
/* Anchors */
a {outline: 0;}
a img {border: 0px; text-decoration: none;}
a:link, a:visited {
	/*color: #C74350;*/
	color: #A35733;
	padding: 0 1px;
	text-decoration: underline;
}
a:hover, a:active {
	/*background-color: #C74350;*/
	background-color: #A35733;
	color: #fff;
	text-decoration: none;
	text-shadow: 1px 1px 1px #333;
}
	
/* Paragraphs */
p {margin-bottom: 1.143em;}
* p:last-child {margin-bottom: 0;}

strong, b {font-weight: bold;}
em, i {font-style: italic;}

::-moz-selection {background: #F6CF74; color: #fff;}
::selection {background: #F6CF74; color: #fff;}

/* Lists */
ul {
	list-style: outside disc;
	margin: 1em 0 1.5em 1.5em;
}

ol {
	list-style: outside decimal;
	margin: 1em 0 1.5em 1.5em;
}

dl {margin: 0 0 1.5em 0;}
dt {font-weight: bold;}
dd {margin-left: 1.5em;}

/* Quotes */
blockquote {font-style: italic;}
cite {}

q {}

/* Tables */
table {margin: .5em auto 1.5em auto; width: 98%;}
	
	/* Thead */
	thead th {padding: .5em .4em; text-align: left;}
	thead td {}

	/* Tbody */
	tbody td {padding: .5em .4em;}
	tbody th {}
	
	tbody .alt td {}
	tbody .alt th {}
	
	/* Tfoot */
	tfoot th {}
	tfoot td {}
	
/* HTML5 tags */
header, section, footer,
aside, nav, article, figure {
	display: block;
}

/***** Layout *****/
.body {clear: both; margin: 0 auto; width: 800px;}
img.right figure.right {float: right; margin: 0 0 2em 2em;}
img.left, figure.left {float: right; margin: 0 0 2em 2em;}
.left {float:left;}
.right {float:right;}

/*
	Header
*****************/
#banner {
	margin: 0 auto;
	padding: 2.5em 0 0 0;
}

	/* Banner */
	#banner h1 {font-size: 3.571em; line-height: .6;}
	#baner h1 a:link, #banner h1 a:visited {
		/*color: #000305;*/
		color: #FFF;
		display: block;
		font-weight: bold;
		margin: 0 0 .6em .2em;
		text-decoration: none;
	}
	#banner h1 a:hover, #banner h1 a:active {
		background: none;
		/*color: #C74350;*/
		color: #C15E1C;
		text-shadow: none;
	}
	
	#banner h1 strong {font-size: 0.36em; font-weight: normal;}
	
	/* Main Nav */
	#banner nav {
		/*background: #000305;*/
		background: #753505;
		font-size: 1.143em;
		height: 30px;
		line-height: 20px;
		margin: 0 auto 1em auto;
		padding: 0;
		text-align: center;
		width: 800px;
		
		border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
	}
	
	#banner nav ul {list-style: none; margin: 0 auto; width: 800px;}
	#banner nav li {float: left; display: inline; margin: 0;}
	
	#banner nav a:link, #banner nav a:visited {
		color: #fff;
		display: inline-block;
		height: 20px;
		padding: 5px 1.5em;
		text-decoration: none;
	}
	#banner nav a:hover, #banner nav a:active,
	#banner nav .active a:link, #banner nav .active a:visited {
		/*background: #C74451;*/
		background: #A35733;
		color: #fff;
		text-shadow: none !important;
	}
	
	#banner nav li:first-child a {
		border-top-left-radius: 5px;
		-moz-border-radius-topleft: 5px;
		-webkit-border-top-left-radius: 5px;
		
		border-bottom-left-radius: 5px;
		-moz-border-radius-bottomleft: 5px;
		-webkit-border-bottom-left-radius: 5px;
	}

/*
	Body
*****************/
#content {
	overflow: hidden;
	width: 760px;

	/*border:1px solid #444;
	
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;*/
}

#content nav {width: 760px;}

#content nav ul {list-style: none; margin: 0 auto; width: 760px;}
#content nav li {display: inline; margin: 0;}

/*
	About
*****************/
#about {
	background: #fff;
	font-style: normal;
	margin-bottom: 2em;
	overflow: hidden;
	padding: 20px;
	text-align: left;
	width: 760px;
	
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

/***** Sections *****/
/* Blog */
li:last-child .hentry, #content > .hentry {border: 0; margin: 0;}
#content > .hentry {padding: 1em 0;}

.entry-title {font-size: 1.429em; margin-bottom: 0;}
.entry-title a:link, .entry-title a:visited {text-decoration: none;}

.entry .post-info * {font-style: normal;}

/* Content */
.entry header {padding-bottom: 2px;}
.entry footer {color: #D6D4D2; margin-bottom: 10px;}
.entry-content {font-size:110%; border-top: 1px solid #444; padding-top: 10px;}
#posts-list li{margin-bottom: 1em;}

/* Blog Index */
#posts-list {list-style: none; margin: 0;}
#posts-list .hentry {padding-left: 200px; position: relative;}
#posts-list .hentry:hover {
	background: #C64350;
	color: #fff;
}
#posts-list .hentry:hover a:link, #posts-list .hentry:hover a:visited {
	color: #F6CF74;
	text-shadow: 1px 1px 1px #333;
}
/*
	Extras
*****************/
#extras {margin: 0 auto 1em auto; overflow: hidden;}

#extras ul {list-style: none; margin: 0;}
#extras li {border-bottom: 1px solid #444;}
#extras h2 {
	color: #C15E1C;
	font-size: 1.429em;
	margin-bottom: .25em;
	padding: 0 3px;
}

#extras a:link, #extras a:visited {
	color: #D6D4D2;
	display: block;
	/*border-bottom: 1px solid #F4E3E3;*/
	text-decoration: none;
	padding: .3em .25em;
}

#extras li:last-child,
#extras li:last-child a {border: 0}

#extras .blogroll li:nth-last-child(2),
#extras .blogroll li:nth-last-child(3),
#extras .blogroll li:nth-last-child(2) a,
#extras .blogroll li:nth-last-child(3) a {border: 0;}

#extras a:hover, #extras a:active {color: #fff;}

#extras .blogroll li {float: left; margin: 0 20px 0 0; width: 185px;}

#extras div {
	float: left;
	width: 175px;
	background-repeat: no-repeat;
	background-position: 3px 6px;
	padding-left: 20px;
}

/* Footer */
#footer {
	border-top: 1px solid #F4E3E3; 
	padding-top: 10px;
	color: #444;
}
	
/* Comments */
#comments {
	clear: both;
	margin: 3em auto 1em auto;
}
#comments h2 {
	color: #C15E1C;
	font-size: 1.429em;
	margin-bottom: .25em;
	padding: 0 3px;
}
#comments ul {list-style: none; margin: 0 0 1em 0;}
#comments li {
	margin-bottom: .5em;
	padding: 5px 5px 5px 10px;
	border: 1px solid #753505;

	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
#comments li header {
	color: #D6D4D2;
}
#comments li div {
	padding-left: 10px;
}
.comment-list blockquote {
	background: #f8f8f8;
	clear: both;
	font-style: normal;
	margin: 0;
	padding: 15px 20px;
	
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

/* Add a Comment */
#add-comment {margin-bottom: .5em; overflow: hidden;}
#add-comment h2 {
	color: #C15E1C;
	font-size: 1.429em;
	margin-bottom: .25em;
	padding: 0 3px;
}
#add-comment label {margin-left: 1em; clear: left; float: left; text-align: left; width: 150px;}
#add-comment input[type='text'],
#add-comment input[type='email'],
#add-comment input[type='submit'],
#add-comment input[type='url'] {margin-right: 10px; background: #E1DFDD; float: left; width: 200px;}
#add-comment textarea {background: #E1DFDD; float: left; height: 150px; width: 495px;}

#add-comment * {margin-bottom: .5em;}
#add-comment ul {list-style: none; margin: 0;}
#add-comment span {clear: left float:left; text-align: left;}
#add-comment li {clear: left;}

.errorlist {color: red;}

.wp_syntax {
  color: #100;
  background-color: #f9f9f9;
  border: 1px solid silver;
  margin: 0 1.5em 0 1.5em;
  overflow: auto;
}

/* IE FIX */
.wp_syntax {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: expression(this.scrollWidth > this.offsetWidth ? 15 : 0);
  width: 100%;
}

.wp_syntax table {
  border-collapse: collapse;
}

.wp_syntax div, .wp_syntax td {
  vertical-align: top;
  padding: 2px 4px;
}

.wp_syntax .line_numbers {
  text-align: right;
  background-color: #def;
  color: gray;
  overflow: visible;
}

/* potential overrides for other styles */
.wp_syntax pre {
  margin: 0;
  width: auto;
  float: none;
  clear: none;
  overflow: visible;
  font-size: 12px;
  line-height: 1.333;
  white-space: pre;
}

